<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
        'htmlOptions' => array('class' => 'mainForm'),
)); ?>
<fieldset>
    <div class="rowElem">
        <?php echo $form->label($model,'productCategoryId'); ?>
        <div class="formRight"><?php echo $form->textField($model, 'productCategoryId', array('size' => 20, 'maxlength' => 20, "class"=>"rightDir", "title"=>"Id")); ?></div>
        <div class="fix"></div>
    </div>
    <div class="rowElem">
        <?php echo $form->label($model,'name'); ?>
        <div class="formRight"><?php echo $form->textField($model, 'name', array('size' => 60, 'maxlength' => 255, "class"=>"rightDir", "title"=>"Name")); ?></div>
        <div class="fix"></div>
    </div>
    <div class="rowElem">
        <?php echo $form->label($model,'description'); ?>
        <div class="formRight"><?php echo $form->textField($model, 'description', array('size' => 6, 'maxlength' => 50, "class"=>"rightDir", "title"=>"Description")); ?></div>
        <div class="fix"></div>
    </div>
    <div class="rowElem">
        <?php echo $form->label($model,'parentId'); ?>
        <div class="formRight"><?php echo $form->textField($model, 'parentId', array('size' => 20, 'maxlength' => 20, "class"=>"rightDir", "title"=>"Parent Id")); ?></div>
        <div class="fix"></div>
    </div>
    <div class="rowElem">
        <?php echo $form->label($model,'status'); ?>
        <div class="formRight"><?php echo $form->textField($model, 'status', array('size' => 20, 'maxlength' => 20, "class"=>"rightDir", "title"=>"Status")); ?></div>
        <div class="fix"></div>
    </div>
    <div class="rowElem">
        <?php echo $form->label($model,'level'); ?>
        <div class="formRight"><?php echo $form->textField($model, 'level', array('size' => 20, 'maxlength' => 20, "class"=>"rightDir", "title"=>"Level")); ?></div>
        <div class="fix"></div>
    </div>

    <?php echo CHtml::submitButton('Search', array("class" => "greyishBtn submitForm")); ?>
</fieldset>
<?php $this->endWidget(); ?>
